import Cookies from 'js-cookie'
// const timeKey = 'shi-jian-chuo'
const TokenKey = 'vue_admin_template_token'
/**
 *
 * @returns 取出(token)
 */
export function getToken () {
  return Cookies.get(TokenKey)
}
/**
 *
 * @param  存储(token)
 */
export function setToken (token) {
  return Cookies.set(TokenKey, token)
}
/**
 *
 * @returns 删除(token)
 */
export function removeToken () {
  return Cookies.remove(TokenKey)
}
// 对外暴露事件戳
// export const
